<?php

/**
 * Description of RoleHeirarchy
 *
 * @author    Mon Zafra <monzee at gmail>
 * @copyright (c)2009 Mon Zafra
 * @license   http://monzee.wordpress.com/license New BSD
 * @version   $Id: BaseAdmin_Doctrine_RoleHeirarchy.php 38 2009-02-18 17:12:39Z monzee $
 */
class BaseAdmin_Doctrine_RoleHeirarchy extends Doctrine_Record
{
    public function setTableDefinition()
    {
        $this->setTableName('role_reference');
        $this->hasColumn('parent_id', 'string', 64, array('primary' => true));
        $this->hasColumn('child_id', 'string', 64, array('primary' => true));

    }

}
